package com.kawins.supers.message.email;

import java.util.List;
import java.util.Map;

/**
 * @author rankai
 *         createTime 2017-11-2017/11/6 15:30
 */
public interface ISendEmail {

    boolean send(String email, String content);

    boolean send(String[] email, String content);

    boolean send(String email, Map<String, Object> paramMap);

    boolean send(String[] email, Map<String, Object> paramMap);

    boolean send(String email, Map<String, Object> paramMap, String tempPath);

    boolean send(String[] email, Map<String, Object> paramMap, String tempPath);

    boolean send(String email, Map<String, Object> paramMap, String tempPath, List<String> appendixPath);

    /**
     * 发送邮件
     *
     * @param email        邮件地址
     * @param paramMap     数据Map
     * @param tempPath     模版地址
     * @param appendixPath 附件地址
     * @return
     */
    boolean send(String[] email, Map<String, Object> paramMap, String tempPath, List<String> appendixPath);
}
